frappe.provide("amtf.util")

amtf.util = {
    成借贷(余额) {
        const 借贷 = 余额 >= 0 ? "借" : "贷"
        let color = 余额 >= 0 ? "blue" : "red"
        return { 借贷, color }
    },
}
